package com.tbh.security6;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@MapperScan("com.tbh.security6.mapper")
@SpringBootApplication
@EnableGlobalMethodSecurity(
        securedEnabled = true,
        prePostEnabled = true
)
public class Security6Application {
    public static void main(String[] args) {
        SpringApplication.run(Security6Application.class);
    }
}
